local FZutil=require("app.FZutil")

local BackgroundLayer={}

--是否显示《健康游戏》公告
local IS_SHOW_HEALTH_NOTICE=true

function BackgroundLayer.create()
    local uimap=FZutil.createSceneNode("LoginUIall/LoginUIView_background")
    uimap.root:setPosition(display.center)
    local img=uimap.Image_baseMap_03
    img:ignoreContentAdaptWithSize(true)
    img:setPositionX(-display.width/2+312/2)

    if not IS_SHOW_HEALTH_NOTICE then 
   	    uimap.Image_baseMap_04:hide()
   	    uimap.Text_healthGame_N:hide()
    end
   
    return uimap
end

return BackgroundLayer